﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F0B RID: 3851
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicAutoDressInMagicUnitChangeScNotify : IMessage<RogueMagicAutoDressInMagicUnitChangeScNotify>, IMessage, IEquatable<RogueMagicAutoDressInMagicUnitChangeScNotify>, IDeepCloneable<RogueMagicAutoDressInMagicUnitChangeScNotify>, IBufferMessage
	{
		// Token: 0x170030F1 RID: 12529
		// (get) Token: 0x0600ACC7 RID: 44231 RVA: 0x001D385D File Offset: 0x001D1A5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicAutoDressInMagicUnitChangeScNotify> Parser
		{
			get
			{
				return RogueMagicAutoDressInMagicUnitChangeScNotify._parser;
			}
		}

		// Token: 0x170030F2 RID: 12530
		// (get) Token: 0x0600ACC8 RID: 44232 RVA: 0x001D3864 File Offset: 0x001D1A64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicAutoDressInMagicUnitChangeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030F3 RID: 12531
		// (get) Token: 0x0600ACC9 RID: 44233 RVA: 0x001D3876 File Offset: 0x001D1A76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicAutoDressInMagicUnitChangeScNotify.Descriptor;
			}
		}

		// Token: 0x0600ACCA RID: 44234 RVA: 0x001D387D File Offset: 0x001D1A7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInMagicUnitChangeScNotify()
		{
		}

		// Token: 0x0600ACCB RID: 44235 RVA: 0x001D3885 File Offset: 0x001D1A85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInMagicUnitChangeScNotify(RogueMagicAutoDressInMagicUnitChangeScNotify other) : this()
		{
			this.enableAutoDress_ = other.enableAutoDress_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ACCC RID: 44236 RVA: 0x001D38AA File Offset: 0x001D1AAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInMagicUnitChangeScNotify Clone()
		{
			return new RogueMagicAutoDressInMagicUnitChangeScNotify(this);
		}

		// Token: 0x170030F4 RID: 12532
		// (get) Token: 0x0600ACCD RID: 44237 RVA: 0x001D38B2 File Offset: 0x001D1AB2
		// (set) Token: 0x0600ACCE RID: 44238 RVA: 0x001D38BA File Offset: 0x001D1ABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EnableAutoDress
		{
			get
			{
				return this.enableAutoDress_;
			}
			set
			{
				this.enableAutoDress_ = value;
			}
		}

		// Token: 0x0600ACCF RID: 44239 RVA: 0x001D38C3 File Offset: 0x001D1AC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicAutoDressInMagicUnitChangeScNotify);
		}

		// Token: 0x0600ACD0 RID: 44240 RVA: 0x001D38D1 File Offset: 0x001D1AD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicAutoDressInMagicUnitChangeScNotify other)
		{
			return other != null && (other == this || (this.EnableAutoDress == other.EnableAutoDress && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ACD1 RID: 44241 RVA: 0x001D3900 File Offset: 0x001D1B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EnableAutoDress)
			{
				num ^= this.EnableAutoDress.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ACD2 RID: 44242 RVA: 0x001D393F File Offset: 0x001D1B3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ACD3 RID: 44243 RVA: 0x001D3947 File Offset: 0x001D1B47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ACD4 RID: 44244 RVA: 0x001D3950 File Offset: 0x001D1B50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EnableAutoDress)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.EnableAutoDress);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ACD5 RID: 44245 RVA: 0x001D3984 File Offset: 0x001D1B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EnableAutoDress)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ACD6 RID: 44246 RVA: 0x001D39B6 File Offset: 0x001D1BB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicAutoDressInMagicUnitChangeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EnableAutoDress)
			{
				this.EnableAutoDress = other.EnableAutoDress;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ACD7 RID: 44247 RVA: 0x001D39E7 File Offset: 0x001D1BE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ACD8 RID: 44248 RVA: 0x001D39F0 File Offset: 0x001D1BF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EnableAutoDress = input.ReadBool();
				}
			}
		}

		// Token: 0x04004627 RID: 17959
		private static readonly MessageParser<RogueMagicAutoDressInMagicUnitChangeScNotify> _parser = new MessageParser<RogueMagicAutoDressInMagicUnitChangeScNotify>(() => new RogueMagicAutoDressInMagicUnitChangeScNotify());

		// Token: 0x04004628 RID: 17960
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004629 RID: 17961
		public const int EnableAutoDressFieldNumber = 4;

		// Token: 0x0400462A RID: 17962
		private bool enableAutoDress_;
	}
}
